package com.zhigongtech.tender.sys.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import java.util.Date;
import com.zhigongtech.extension.entry.DataEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * SYS_USER 系统用户
 * </p>
 *
 * @author Alan
 * @since 2019-06-14
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("sys_user")
@ApiModel(value="User对象", description="SYS_USER 系统用户")
public class User extends DataEntity<User> {

private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "公司ID")
    private String officeId;

    @ApiModelProperty(value = "用户权限范围：0-本级机构，1-本级机构及以下，2-全部，不受限制")
    private String scope;

    @ApiModelProperty(value = "登录账户")
    private String account;

    @ApiModelProperty(value = "登录密码")
    private String password;

    @ApiModelProperty(value = "密码加密盐")
    private String salt;

    @ApiModelProperty(value = "用户属性ID")
    private String propertyId;

    @ApiModelProperty(value = "创建人")
    private String createBy;

    @ApiModelProperty(value = "创建时间")
    private Date createDate;

    @ApiModelProperty(value = "更新人")
    private String updateBy;

    @ApiModelProperty(value = "更新时间")
    private Date updateDate;

    @ApiModelProperty(value = "备注")
    private String remarks;

    @ApiModelProperty(value = "删除标记")
    private String delFlag;


}
